package center

import (
	"github.com/spf13/cobra"
)

var RootCmd = centerCmd

// centerCmd represents the base command when called without any subcommands
var centerCmd = &cobra.Command{
	Use: "center",
	Aliases: []string{
		"C",
	},
	Short: "中转服务器配置",
	Long:  ``,
	Run: func(cmd *cobra.Command, args []string) {
		_ = cmd.Help()
	},
}

func init() {
	// Here you will define your flags and configuration settings.
	// Cobra supports persistent flags, which, if defined here,
	// will be global for your application.

	// centerCmd.PersistentFlags().StringVar(&cfgFile, "config", "", "config file (default is $HOME/.image-pusher.yaml)")

	// Cobra also supports local flags, which will only run
	// when this action is called directly.
	centerCmd.Flags().BoolP("toggle", "t", false, "Help message for toggle")
}
